package com.cskaoyan.service;
import com.cskaoyan.bean.user.Address;
import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.BaseData;

import java.util.List;


public interface AddressService {
    BaseData<Address> address(BaseParam param, String name, Integer userId);

    BaseData<Address> list(Integer userId);

    Address detail(int id);

    int delete(Integer id);

    int saveUpdate(Address address);

    int saveAdd(Address address,int userId);
}
